package com.yun.zf.common.app.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 房屋出售维护表
 * </p>
 *
 * @author cj
 * @since 2021-03-09
 */
@TableName("zf_house_info_sale")
@Data
public class ZfHouseInfoSale implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "房源id")
    private Long basicId;

    @ApiModelProperty(value = "省级区划代码")
    private Long provinceCode;

    @ApiModelProperty(value = "城市编码")
    private Long cityCode;


    @ApiModelProperty(value = "房屋用途，1普通住宅2,商业类，3别墅，4四合院，5车位，6其它")
    private Integer houseUse;

    @ApiModelProperty(value = "供暖类型，集中供暖jg,自供暖 zg")
    private String heating;

    @ApiModelProperty(value = "1商品房，2公房，3经济房，4其它")
    private Integer ownerShip;

    @ApiModelProperty(value = " 建筑类型，1塔楼，2板楼，3板塔结合")
    private Integer buildingType;

    @ApiModelProperty(value = "建成年份")
    private int buildYear;

    @ApiModelProperty(value = "是否存在贷款，Y是N否")
    private String isLoan;

    @ApiModelProperty(value = "剩余贷款")
    private BigDecimal loanAmount;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifiedTime = new Date();


}
